package com.shelpe.services.sinbad.controller.dto.vo;

import com.shelpe.services.sinbad.entity.jpa.Tactics;

import lombok.Data;

@Data
public class RankingPremium {
	private int type;
	private float value;

	public Tactics.Premium to() {
		Tactics.Premium p = new Tactics.Premium();
		p.setValue(value);
		p.setPercent(type == 0);
		return p;
	}
}
